import com.cm.domain.Sum;
import org.junit.Test;

public class SumTest {
    @Test
    public void test1(){
        int nums[]={1,-2,3,5,-1};
        Sum sum =new Sum();
        sum.sumPara(nums);
    }
    @Test
    public void test2(){

        int nums[]={1,-2,3,-8,5,1};

        Sum sum =new Sum();
        sum.sumPara(nums);
    }
    @Test
    public void test3(){

        int nums[]={1,-2,3,-2,5,1};
        Sum sum =new Sum();
        sum.sumPara(nums);
    }
}
